package cn.com.open.itembank.service;

import cn.com.open.itembank.dto.ComposePaper;
import cn.com.open.itembank.dto.TestPaperModel;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "item-compose-service")
public interface ComposeLogicRemoteService {

    /**
     * 遗传算法组卷.
     *
     * @param composePaper the compose paper
     * @return the test paper model
     */
    @PostMapping(value = "/composepaper/composePaperGenetic")
    TestPaperModel composePaperGenetic(@RequestBody ComposePaper composePaper);
}
